<template>
  <div class="home">
    <el-container>
      <el-header>
        <top-nav></top-nav>
      </el-header>
      <el-container>
        <el-aside width="200px">
          <side-nav></side-nav>
        </el-aside>
        <el-main> 
          <router-view></router-view>
        </el-main>
      </el-container>
    </el-container>
  </div>
</template>

<script>
import topNav from '@/components/Nav/topNav.vue'
import sideNav from '@/components/Nav/sideNav.vue';
export default {
  name: 'HomeView',
  components: {
   topNav,
   sideNav,
  },
}
</script>

<style scoped lang="less">
.el-header{
    background-color: #CDDFD9;
    color: #333;
    text-align: center;
    height: 100px;
  }
   .el-main {
    background-color: #F5F7F2;
    color: #333;
    text-align: center;
    height:650px;
    padding: 0;
    display: flex;
    justify-content: center;
  }
  .el-aside {
    /* background-color: #D3DCE6; */
    color: #333;
    text-align: center;
    height: 670px;
  }
</style>
